package jwr.basic;

public class ComputeInvestment {

	public static void main(String[] args) {
		int cnt=0;
		int sum = 25000;
		final double COMM = 0.06;
		
		while(sum<=50000){
			sum = sum + (int)(sum*COMM);
			cnt++;
//			System.out.println(sum);
		}
		System.out.println(cnt);
	}

}
